using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace TokenPay.Domains
{
    /// <summary>
    /// 回调通知记录
    /// </summary>
    public class NotifyRecord
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 需要法币金额，保留2位小数
        /// </summary>
        [Column(Precision = 15, Scale = 2)]
        public decimal ActualAmount { get; set; }
        /// <summary>
        /// 区块链币种
        /// </summary>
        public string Currency { get; set; }
        /// <summary>
        /// 金额，保留4位小数
        /// </summary>
        [Column(Precision = 15, Scale = 4)]
        public decimal Amount { get; set; }
        /// <summary>
        /// 钱包地址，如果是汇总，此字段为total
        /// </summary>
        public string Address { get; set; } = null!;
       
    }
}
